package br.unicentro.lynx.model.pojo;

public class Book {
	private Integer id_book;
	private String isbn_book;
	private String title_book;
	private Integer edition_book;
	private Integer copyright_book;
	private Integer volume_book;
	private Integer id_area_book;
	private Integer id_collection_book;
	private Integer id_publisher_book;

	public Book() {

	}

	public Book(String isbn_book, String title_book, Integer edition_book,
			Integer copyright_book, Integer volume_book, Integer id_area_book,
			Integer id_collection_book, Integer id_publisher_book) {
		this.isbn_book = isbn_book;
		this.title_book = title_book;
		this.edition_book = edition_book;
		this.copyright_book = copyright_book;
		this.volume_book = volume_book;
		this.id_area_book = id_area_book;
		this.id_collection_book = id_collection_book;
		this.id_publisher_book = id_publisher_book;
	}

	public Book(Integer id_book, String isbn_book, String title_book,
			Integer edition_book, Integer copyright_book, Integer volume_book,
			Integer id_area_book, Integer id_collection_book,
			Integer id_publisher_book) {
		this.id_book = id_book;
		this.isbn_book = isbn_book;
		this.title_book = title_book;
		this.edition_book = edition_book;
		this.copyright_book = copyright_book;
		this.volume_book = volume_book;
		this.id_area_book = id_area_book;
		this.id_collection_book = id_collection_book;
		this.id_publisher_book = id_publisher_book;
	}

	public Integer getIdBook() {
		return id_book;
	}

	public void setIdBook(Integer id_book) {
		this.id_book = id_book;
	}

	public String getIsbnBook() {
		return isbn_book;
	}

	public void setIsbnBook(String isbn_book) {
		this.isbn_book = isbn_book;
	}

	public String getTitleBook() {
		return title_book;
	}

	public void setTitleBook(String title_book) {
		this.title_book = title_book;
	}

	public Integer getEditionBook() {
		return edition_book;
	}

	public void setEditionBook(Integer edition_book) {
		this.edition_book = edition_book;
	}

	public Integer getCopyrightBook() {
		return copyright_book;
	}

	public void setCopyrightBook(Integer copyright_book) {
		this.copyright_book = copyright_book;
	}

	public Integer getVolumeBook() {
		return volume_book;
	}

	public void setVolumeBook(Integer volume_book) {
		this.volume_book = volume_book;
	}

	public Integer getIdAreaBook() {
		return id_area_book;
	}

	public void setIdAreaBook(Integer id_area_book) {
		this.id_area_book = id_area_book;
	}

	public Integer getIdCollectionBook() {
		return id_collection_book;
	}

	public void setIdCollectionBook(Integer id_collection_book) {
		this.id_collection_book = id_collection_book;
	}

	public Integer getIdPublisherBook() {
		return id_publisher_book;
	}

	public void setIdPublisherBook(Integer id_publisher_book) {
		this.id_publisher_book = id_publisher_book;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Book [id_book=").append(id_book).append(", isbn_book=")
				.append(isbn_book).append(", title_book=").append(title_book)
				.append(", edition_book=").append(edition_book)
				.append(", copyright_book=").append(copyright_book)
				.append(", volume_book=").append(volume_book)
				.append(", id_area_book=").append(id_area_book)
				.append(", id_collection_book=").append(id_collection_book)
				.append(", id_publisher_book=").append(id_publisher_book)
				.append("]");
		return builder.toString();
	}
}
